import request from "@/utils/request";

export const getMenuList = (param) => {
    return request({
        url: '/api/admin/getMenuList',
        method: 'post',
        data: param
    })
}
export const addMenu = (param) => {
    return request({
        url: '/api/admin/addMenu',
        method: 'post',
        data: param
    })
}
export const delMenu = (param) => {
    return request({
        url: '/api/admin/delMenu',
        method: 'post',
        data: param
    })
}
export const editMenulnfo = (param) => {
    return request({
        url: '/api/admin/editMenuInfo',
        method: 'post',
        data: param
    })
}
export const editMenu = (param) => {
    return request({
        url: '/api/admin/editMenu',
        method: 'post',
        data: param
    })
}
export const getMenuDrop = (param) => {
    return request({
        url: '/api/admin/getMenuDrop',
        method: 'post',
        data: param
    })
}
